<!DOCTYPE html>
<html lang="">
  <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width,initial-scale=1.0">
    <link rel="icon" href="<%= BASE_URL %>favicon.ico">
    <title>Mars3D最简项目模版 - Vue3+Cli+JS版</title>

    <% if (VUE_APP_MARS3D_SOURCE=="cdn") { %>
    <!-- 方式2：使用cdn引入的Cesium -->
    <link href="https://unpkg.com/mars3d-cesium/Build/Cesium/Widgets/widgets.css" rel="stylesheet" type="text/css" />
    <script src="https://unpkg.com/mars3d-cesium/Build/Cesium/Cesium.js" type="text/javascript"></script>
    <script src="https://unpkg.com/@turf/turf/turf.min.js" type="text/javascript"></script>
    <% } %> 
    <% if (VUE_APP_MARS3D_SOURCE=="local") { %>
    <!-- 方式3：使用直接引入的Cesium ，需要拷贝对应目录到public下 -->
    <script type="text/javascript">
      window.CESIUM_BASE_URL = '<%= BASE_URL %>lib/Cesium/'
    </script>
    <link rel="stylesheet" href="<%= BASE_URL %>lib/Cesium/Widgets/widgets.css" />
    <script type="text/javascript" src="<%= BASE_URL %>lib/Cesium/Cesium.js"></script>
    <% } %>
  </head>
  <body>
    <noscript>
      <strong>We're sorry but <%= htmlWebpackPlugin.options.title %> doesn't work properly without JavaScript enabled. Please enable it to continue.</strong>
    </noscript>
    <div id="app"></div>
    <!-- built files will be auto injected -->
  </body>
</html>
